import { Component, ViewChild, AfterViewInit, OnInit } from "@angular/core";
declare var $:any;
@Component({
  selector: 'activity',
  styleUrls: ['./activity.component.css'],
  templateUrl: './activity.component.html',

})
export class ActivityComponent implements OnInit {

  config: SwiperOptions = {
    spaceBetween: 30,
    slidesPerView: 3,
    loop: false,
};

  // 图片数组
  data: Array<number>;
  // 配置

  constructor(
  ) {

    this.data = [
      1, 2, 3, 4,
    ]
  }

  ngOnInit() {

  }
}
